import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as verify from "./utils/verify.js";
import "@/assets/style/common.scss";
import Print from "vue-print-nb";
import * as tools from "./utils/utils";

Vue.use(ElementUI);
Vue.use(Print);
Vue.config.productionTip = false;
Vue.prototype.$vue = Vue;
// 添加全局方法
Vue.prototype.$verify = verify;
// 添加全局方法
Object.keys(tools).forEach((k) => {
  Vue.prototype[k] = tools[k];
});

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
